package cn.hl.org.mapper;

import cn.hl.basic.mapper.BaseMapper;
import cn.hl.org.domain.Employee;

import java.util.List;

/**
 * 员工的mapper接口
 */
public interface EmployeeMapper extends BaseMapper<Employee> {

    void addEmployeeRole(Employee employee);

    void deleteEmployeeRoleByEmployeeId(Long id);

    List<String> findPermissionSnByLogininfoId(Long id);

    Employee findByLogininfoId(Long logininfoId);

    List<Employee> findByShopId(Long id);
}
